[PATCH] [compiler-rt] Remove struct_termio_sz from sanitizer_platform_limits_posix.cpp
authorcqwrteur <100043421+trcrsired@users.noreply.github.com>
Sat, 26 Apr 2025 03:16:49 +0000 (11:16 +0800)
committerMatthias Klose <doko@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
commitb2205d3d4d1e23b926da21fa34d8c00dfb7125b4
treeb61e1e3f964de72f01a6638b7f2e24b04e0e4bc6
parentd97ea8b0912612bad45a3070e726121fc95d0b1d
[PATCH] [compiler-rt] Remove struct_termio_sz from sanitizer_platform_limits_posix.cpp

The `struct termio` and its associated code have been removed from glibc as they are considered obsolete. This change removes the corresponding code in compiler-rt to maintain compatibility.

Additionally, the check for `struct_termio_sz` specific to Android has been removed. There is no guarantee that the Linux kernel or Google will continue supporting `struct termio`, and its removal aligns with the deprecation in glibc.

Reference: glibc commit e04afb71771710cdc6025fe95908f5f17de7b72d

https://github.com/bminor/glibc/commit/e04afb71771710cdc6025fe95908f5f17de7b72d

Gbp-Pq: Name sanitizer-137440.patch
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp